<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Bursa Komoditi Online</title>
<meta name="description" content="Bursa Komoditi Online" />
<link rel="stylesheet" href="<?=base_url();?>css/style.css" media="all" />
<script type="text/javascript" src="<?=base_url();?>js/mootools-core.js"></script>
<script type="text/javascript" src="<?=base_url();?>js/mootools-more.js"></script>
<script type="text/javascript" src="<?=base_url();?>js/plugins/FbModal.class.js"></script>
<!--<script type="text/javascript" src="<?=base_url();?>js/MooComplete.js"></script>
<script type="text/javascript" src="<?=base_url();?>/js/multiple-selected.js"></script>
<script type="text/javascript" src="<?=base_url();?>js/accessibleDialogSellerCommodityDetail.js"></script>
<script type="text/javascript" src="<?=base_url();?>/js/accessibleDialogSellerCommodityEdit.js"></script>
<script type="text/javascript" src="<?=base_url();?>js/accessibleDialogSellerCommodityDetailResi.js"></script>
<script type="text/javascript" src="<?=base_url();?>/js/accessibleDialogSellerCommodityReceiptEdit.js"></script>
<script type="text/javascript" src="<?=base_url();?>/js/accessibleDialogSellerTransaction.js"></script>
<script type="text/javascript" src="<?=base_url();?>/js/accessibleDialogAuctionCommodityDetail.js"></script>
<script type="text/javascript" src="<?=base_url();?>/js/accessibleDialogAuctionCommodityDetailResi.js"></script>
<script type="text/javascript" src="<?=base_url();?>/js/accessibleDialogAuctionCommodityDetail.js"></script>
<script type="text/javascript" src="<?=base_url();?>/js/accessibleDialogAuctionCommodityDetailResi.js"></script>
<script type="text/javascript" src="<?=base_url();?>/js/accessibleDialogBuyerAuctionBid.js"></script>
<script type="text/javascript" src="<?=base_url();?>/js/accessibleDialogSellerCommodityDetailResi.js"></script>
<script type="text/javascript" src="<?=base_url();?>/js/accessibleDialogAdminCommodityReceiptEdit.js"></script>
<script type="text/javascript" src="<?=base_url();?>/js/accessibleDialogaddCommodityReceipt.js"></script>
<script type="text/javascript" src="<?=base_url();?>js/accessibleDialog.js"></script>
<script type="text/javascript" src="<?=base_url();?>js/accessibleDialogaddAccess.js"></script>-->


<style type="text/css" media="print" >
<!--
/* It is common to set printer friendly styles such as a white background with black text. */
body {
  background-color: #fff;
  background-image: none;
  border-color: #000; /* Sets the border color properties for an element using shorthand notation */
  color: #000;
}
-->
</style>
<!--[if IE 5]>
<style type="text/css"> 
/* IE 5 does not use the standard box model, so the column widths are overidden to render the page correctly. */
#outerWrapper #contentWrapper #rightColumn1 {
  width: 220px;
}
</style>
<![endif]-->
<!--[if IE]>
<style type="text/css"> 
/* The proprietary zoom property gives IE the hasLayout property which addresses several bugs. */
#outerWrapper #contentWrapper #content {
  zoom: 1;
}
</style>
<![endif]-->
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
</head>
<body>
<div id="outerWrapper">
  <h1 id="title">Bursa Komoditi Online</h1>
  <div id="header">
  	  <div style="background:url(<?=site_url()?>images/Left2.png) no-repeat;display:inline-block;border:0px solid red; height:35px;vertical-align:top;width:3px;"></div><div style="height:35px;background:url(<?=base_url();?>/images/Center.png)repeat-x;display:inline-block; width:1015px; border:0px solid red;">
          <ul>
          <li style="margin-right:20px;">
		<img src="<?=site_url()?>images/home.png" height="30px" width="30px" align="top" style="position:absolute;top:25px;"/>&nbsp;
          </li>

          <?php
            
            foreach($menu as $m){
                echo "<li>";
                echo "<a href=\"".site_url()."".$m['Rule']."\">".$m['MenuName']."</a><span></span>";
                echo "</li>";
            }
          ?>
           <li id="search">
		<div class="search_field">
		    <input name="search" width="150px" /><button type="submit" onclick="alert('test')"><img src="<?=base_url();?>/images/search.png" alt="Search" align="absmiddle" /></button>
		</div>
            </li>
          </ul>
      </div><div style="background:url(<?=site_url();?>images/Right2.png) no-repeat;display:inline-block;height:35px;border:0px solid red;vertical-align:top;width:6px;"></div>
  </div>
  <div id='userinfo'>
	  <?php 
	  $userInfo = $this->session->userdata('UserInfo');
	  if(isset($userInfo['UserName']))
	  { 
	  ?>
	  <span>Selamat datang, <?=$userInfo['UserName']?></span>
	  <span style='margin-left:20px;'><a href='<?=base_url();?>/pages/logout'><img src='<?=base_url();?>/images/logout.png' width='18' height='18' align='absmiddle'/>&nbsp;Logout</a></span>
	  <span class='right'>Anda terakhir login pada, <?=$userInfo['LastLogin']?></span>
	  <?php } ?>
  </div>
  <div style="margin:5px;">
  </div>
  <div id="contentWrapper">
